package com.dhsc.domain.yypt.workflow;

import java.util.List;
import java.util.Map;

import lombok.Data;

@Data
public class FlowVO {
	private Map<String,rectVO> states;
	private Map<String,pathVO> paths;
	private ppp_propsVO props;
	
	@Data
	public class rectVO{
		private String type;
		private textVO text;
		private attrVO attr;
		private propsVO props;
	}
	
	@Data
	public class textVO{
		private String text;
	}
	
	@Data
	public class valueVO{
		private String value;
	}
	
	@Data
	public class attrVO{
		private String x;
		private String y;
		private String width;
		private String height;
	}
	
	@Data
	public class propsVO{
		private valueVO temp_text;
		private valueVO temp_url;
		private valueVO temp_operate;
	}
	
	
	@Data
	public class pathVO{
		private String from;
		private String to;
		private List<String> dots;
		private textVO text;
		private textPosVO textPos;
		private p_propsVO props;
	}
	
	@Data
	public class textPosVO{
		private String x;
		private String y;
	}
	
	@Data
	public class p_propsVO{
		private valueVO text;
	}
	
	
	
	@Data
	public class pp_propsVO{
		private valueVO name;
		private valueVO key;
		private valueVO desc;
	}
	
	@Data
	public class ppp_propsVO{
		private pp_propsVO props;
	}
	
}
